home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / doc / pnm2ppa / examples / sample_scripts / lprbw next >
Encoding:
Text File  |  2008-11-25  |  144 b   |  5 lines

  1. #!/bin/sh
  2. cat $1 | \
  3. gs -sDEVICE=pbmraw -q -sPAPERSIZE=a4 -dNOPAUSE -r600 -sOutputFile=- - | \
  4. pnm2ppa --bw --eco $2 $3 $4 $5 -i - -o  /dev/lp0
  5.